package com.ereach.overrides;

public class Circle extends Point {
    private double radius;

    public Circle() {

    }

    public Circle(double x, double y, double radius) {
        super(x, y);
        this.radius = radius;
    }

    @Override
    public String toString() {
        return "Circle { radius: " + radius + ", " + super.toString() + " }";
    }

    @Override
    public String sayHello() {
        return super.sayHello() + "\n" + "hello from Cricle";
    }

    public String oldHello() {
        return super.sayHello();
    }
}
